package com.site.wisdom_construction.service.publicModule;

import com.site.wisdom_construction.dao.publicModule.SpecialCertificateTypeDao;
import com.site.wisdom_construction.entity.publicModule.SpecialCertificateType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/7
 * @Description
 */
@Service
public class SpecialCertificateTypeService implements SpecialCertificateTypeDao {
    @Autowired
    private SpecialCertificateTypeDao specialCertificateTypeDao;

    @Override
    public int insertSpecialCertificateType(Map map) {
        return specialCertificateTypeDao.insertSpecialCertificateType(map);
    }

    @Override
    public int deleteSpecialCertificateType(Map map) {
        return specialCertificateTypeDao.deleteSpecialCertificateType(map);
    }

    @Override
    public int updateSpecialCertificateType(Map map) {
        return specialCertificateTypeDao.updateSpecialCertificateType(map);
    }

    @Override
    public List<SpecialCertificateType> findSpecialCertificateTypeByPage(Map map) {
        return specialCertificateTypeDao.findSpecialCertificateTypeByPage(map);
    }

    @Override
    public long Total(Map map) {
        return specialCertificateTypeDao.Total(map);
    }

    @Override
    public List<SpecialCertificateType> selectSpecialCertificateType(Map map) {
        return specialCertificateTypeDao.selectSpecialCertificateType(map);
    }

    @Override
    public List<SpecialCertificateType> findSpecialCertificateTypeByName(Map map) {
        return specialCertificateTypeDao.findSpecialCertificateTypeByName(map);
    }
}
